import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/styles/global.css'
import '@/utils/element.js'

import dayjs from 'dayjs'

import VueQuillEditor from 'vue-quill-editor'

import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

Vue.use(VueQuillEditor)

// import axios from '@/utils/request'
// Vue.prototype.$http = axios

Vue.filter('dateFormat', (time, str = 'YYYY-MM-DD HH:mm:ss') => {
  return dayjs(time).format(str)
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
